<?php

class m_settingreminder extends CI_Model{
	
	function _save($data){
		$this->db->update('s_config',$data);
		return 1;
	}
	
	function _reload(){
		$sql = "SELECT config_day FROM s_config LIMIT 0,1";
		$query = $this->db->query($sql);
		$config_day = $query->row("config_day");
		return $config_day;
	}
}